package oj;

import java.util.Scanner;

public class Day30F {
    public static void main(String[] args) {
            Scanner sc=new Scanner(System.in);
            String psd="ABCDEFGHIJKLMNOPQRSTUVWXYZ";
            String msg="VWXYZABCDEFGHIJKLMNOPQRSTU";
            while(sc.hasNext()){
                String s1=sc.nextLine();
                StringBuilder sb=new StringBuilder();
                for(int i=0; i<s1.length();i++){
                    if(s1.charAt(i)==' '){
                        sb.append(" ");
                        continue;
                    }
                    int index=psd.indexOf(s1.charAt(i));
                    sb.append(msg.charAt(index));
                }
                System.out.println(sb.toString());
            }
        }
    }